package com.dgut.common.result;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author zyq
 * @Date 2022/4/18 17:21
 * @Description TODO
 * @Version 1.0
 **/
@Data
public class CategoryWeightData {

    private String categoryName;

    private Long weight;

    public CategoryWeightData(String categoryName, BigDecimal weight) {
        this.categoryName = categoryName;
        this.weight = weight.longValue();
    }

}
